<template>
	<view>
		<button @click="phone">hahahahah</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		mounted() {},
		methods: {
			phone() {
				uni.makePhoneCall({
					phoneNumber: "10086",
					success: function() {
						console.log('拨打电话成功');
					},
					fail: function() {
						console.log('拨打电话失败');
					}
				});
			}
		}
	};
</script>

<style scoped>

</style>